package com.quanyan.user.model.db;

import com.quanyan.common.utils.Limit;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbAppPromotionChannelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = 0;

    protected int limitEnd = 0;

    protected Limit limit;

    public TbAppPromotionChannelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setLimit(Limit limit) {
        this.limit=limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMacIsNull() {
            addCriterion("mac is null");
            return (Criteria) this;
        }

        public Criteria andMacIsNotNull() {
            addCriterion("mac is not null");
            return (Criteria) this;
        }

        public Criteria andMacEqualTo(String value) {
            addCriterion("mac =", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacNotEqualTo(String value) {
            addCriterion("mac <>", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacGreaterThan(String value) {
            addCriterion("mac >", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacGreaterThanOrEqualTo(String value) {
            addCriterion("mac >=", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacLessThan(String value) {
            addCriterion("mac <", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacLessThanOrEqualTo(String value) {
            addCriterion("mac <=", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacLike(String value) {
            addCriterion("mac like", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacNotLike(String value) {
            addCriterion("mac not like", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacIn(List<String> values) {
            addCriterion("mac in", values, "mac");
            return (Criteria) this;
        }

        public Criteria andMacNotIn(List<String> values) {
            addCriterion("mac not in", values, "mac");
            return (Criteria) this;
        }

        public Criteria andMacBetween(String value1, String value2) {
            addCriterion("mac between", value1, value2, "mac");
            return (Criteria) this;
        }

        public Criteria andMacNotBetween(String value1, String value2) {
            addCriterion("mac not between", value1, value2, "mac");
            return (Criteria) this;
        }

        public Criteria andIfaIsNull() {
            addCriterion("ifa is null");
            return (Criteria) this;
        }

        public Criteria andIfaIsNotNull() {
            addCriterion("ifa is not null");
            return (Criteria) this;
        }

        public Criteria andIfaEqualTo(String value) {
            addCriterion("ifa =", value, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaNotEqualTo(String value) {
            addCriterion("ifa <>", value, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaGreaterThan(String value) {
            addCriterion("ifa >", value, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaGreaterThanOrEqualTo(String value) {
            addCriterion("ifa >=", value, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaLessThan(String value) {
            addCriterion("ifa <", value, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaLessThanOrEqualTo(String value) {
            addCriterion("ifa <=", value, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaLike(String value) {
            addCriterion("ifa like", value, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaNotLike(String value) {
            addCriterion("ifa not like", value, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaIn(List<String> values) {
            addCriterion("ifa in", values, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaNotIn(List<String> values) {
            addCriterion("ifa not in", values, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaBetween(String value1, String value2) {
            addCriterion("ifa between", value1, value2, "ifa");
            return (Criteria) this;
        }

        public Criteria andIfaNotBetween(String value1, String value2) {
            addCriterion("ifa not between", value1, value2, "ifa");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlIsNull() {
            addCriterion("callback_url is null");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlIsNotNull() {
            addCriterion("callback_url is not null");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlEqualTo(String value) {
            addCriterion("callback_url =", value, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlNotEqualTo(String value) {
            addCriterion("callback_url <>", value, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlGreaterThan(String value) {
            addCriterion("callback_url >", value, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlGreaterThanOrEqualTo(String value) {
            addCriterion("callback_url >=", value, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlLessThan(String value) {
            addCriterion("callback_url <", value, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlLessThanOrEqualTo(String value) {
            addCriterion("callback_url <=", value, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlLike(String value) {
            addCriterion("callback_url like", value, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlNotLike(String value) {
            addCriterion("callback_url not like", value, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlIn(List<String> values) {
            addCriterion("callback_url in", values, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlNotIn(List<String> values) {
            addCriterion("callback_url not in", values, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlBetween(String value1, String value2) {
            addCriterion("callback_url between", value1, value2, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andCallbackUrlNotBetween(String value1, String value2) {
            addCriterion("callback_url not between", value1, value2, "callbackUrl");
            return (Criteria) this;
        }

        public Criteria andIsActivationIsNull() {
            addCriterion("is_activation is null");
            return (Criteria) this;
        }

        public Criteria andIsActivationIsNotNull() {
            addCriterion("is_activation is not null");
            return (Criteria) this;
        }

        public Criteria andIsActivationEqualTo(Byte value) {
            addCriterion("is_activation =", value, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationNotEqualTo(Byte value) {
            addCriterion("is_activation <>", value, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationGreaterThan(Byte value) {
            addCriterion("is_activation >", value, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_activation >=", value, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationLessThan(Byte value) {
            addCriterion("is_activation <", value, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationLessThanOrEqualTo(Byte value) {
            addCriterion("is_activation <=", value, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationIn(List<Byte> values) {
            addCriterion("is_activation in", values, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationNotIn(List<Byte> values) {
            addCriterion("is_activation not in", values, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationBetween(Byte value1, Byte value2) {
            addCriterion("is_activation between", value1, value2, "isActivation");
            return (Criteria) this;
        }

        public Criteria andIsActivationNotBetween(Byte value1, Byte value2) {
            addCriterion("is_activation not between", value1, value2, "isActivation");
            return (Criteria) this;
        }

        public Criteria andActivationTimeIsNull() {
            addCriterion("activation_time is null");
            return (Criteria) this;
        }

        public Criteria andActivationTimeIsNotNull() {
            addCriterion("activation_time is not null");
            return (Criteria) this;
        }

        public Criteria andActivationTimeEqualTo(Date value) {
            addCriterion("activation_time =", value, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeNotEqualTo(Date value) {
            addCriterion("activation_time <>", value, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeGreaterThan(Date value) {
            addCriterion("activation_time >", value, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("activation_time >=", value, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeLessThan(Date value) {
            addCriterion("activation_time <", value, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeLessThanOrEqualTo(Date value) {
            addCriterion("activation_time <=", value, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeIn(List<Date> values) {
            addCriterion("activation_time in", values, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeNotIn(List<Date> values) {
            addCriterion("activation_time not in", values, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeBetween(Date value1, Date value2) {
            addCriterion("activation_time between", value1, value2, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationTimeNotBetween(Date value1, Date value2) {
            addCriterion("activation_time not between", value1, value2, "activationTime");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneIsNull() {
            addCriterion("activation_phone is null");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneIsNotNull() {
            addCriterion("activation_phone is not null");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneEqualTo(String value) {
            addCriterion("activation_phone =", value, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneNotEqualTo(String value) {
            addCriterion("activation_phone <>", value, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneGreaterThan(String value) {
            addCriterion("activation_phone >", value, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("activation_phone >=", value, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneLessThan(String value) {
            addCriterion("activation_phone <", value, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneLessThanOrEqualTo(String value) {
            addCriterion("activation_phone <=", value, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneLike(String value) {
            addCriterion("activation_phone like", value, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneNotLike(String value) {
            addCriterion("activation_phone not like", value, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneIn(List<String> values) {
            addCriterion("activation_phone in", values, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneNotIn(List<String> values) {
            addCriterion("activation_phone not in", values, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneBetween(String value1, String value2) {
            addCriterion("activation_phone between", value1, value2, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationPhoneNotBetween(String value1, String value2) {
            addCriterion("activation_phone not between", value1, value2, "activationPhone");
            return (Criteria) this;
        }

        public Criteria andActivationUidIsNull() {
            addCriterion("activation_uid is null");
            return (Criteria) this;
        }

        public Criteria andActivationUidIsNotNull() {
            addCriterion("activation_uid is not null");
            return (Criteria) this;
        }

        public Criteria andActivationUidEqualTo(Integer value) {
            addCriterion("activation_uid =", value, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidNotEqualTo(Integer value) {
            addCriterion("activation_uid <>", value, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidGreaterThan(Integer value) {
            addCriterion("activation_uid >", value, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("activation_uid >=", value, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidLessThan(Integer value) {
            addCriterion("activation_uid <", value, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidLessThanOrEqualTo(Integer value) {
            addCriterion("activation_uid <=", value, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidIn(List<Integer> values) {
            addCriterion("activation_uid in", values, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidNotIn(List<Integer> values) {
            addCriterion("activation_uid not in", values, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidBetween(Integer value1, Integer value2) {
            addCriterion("activation_uid between", value1, value2, "activationUid");
            return (Criteria) this;
        }

        public Criteria andActivationUidNotBetween(Integer value1, Integer value2) {
            addCriterion("activation_uid not between", value1, value2, "activationUid");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}